﻿
namespace _5E.Utils.DbHelper.EasySQL
{
    struct EasyDbColumn
    {
        #region 属性

        private string m_ColumnName;
        public string ColumnName
        {
            get { return m_ColumnName; }
            set { m_ColumnName = value; }
        }

        private string m_PropertyName;
        public string PropertyName
        {
            get { return m_PropertyName; }
            set { m_PropertyName = value; }
        }

        private EasyDbColumnType m_ColumnType;
        public EasyDbColumnType ColumnType
        {
            get { return m_ColumnType; }
            set { m_ColumnType = value; }
        }

        #endregion

        #region 构造函数

        public EasyDbColumn(string columnName, string propertyName, EasyDbColumnType columnType = EasyDbColumnType.Normal)
        {
            m_ColumnName = columnName;
            m_ColumnType = columnType;
            m_PropertyName = propertyName;
        }

        #endregion
    }
}
